Fix client dependency on libxenstore in Makefile.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 13 Oct 2005 10:12:11 +0000 (11:12 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 13 Oct 2005 10:12:11 +0000 (11:12 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/xenstore/Makefile

index efae68ae3e60973915842cb312a8b0af02bc2b98..32194309d11249af6cf4315c2d4d0aa907a5d10f 100644 (file)
@@ -34,8 +34,8 @@ testcode: xs_test xenstored_test xs_random
 xenstored: xenstored_core.o xenstored_watch.o xenstored_domain.o xenstored_transaction.o xs_lib.o talloc.o utils.o tdb.o
        $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -lxenctrl -o $@
 
-$(CLIENTS): xenstore-%: xenstore_%.o
-       $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -lxenctrl -L. -lxenstore -o $@
+$(CLIENTS): xenstore-%: xenstore_%.o libxenstore.so
+       $(LINK.o) $< $(LOADLIBES) $(LDLIBS) -lxenctrl -L. -lxenstore -o $@
 
 $(CLIENTS_OBJS): xenstore_%.o: xenstore_client.c
        $(COMPILE.c) -DCLIENT_$(*F) -o $@ $<